package com.agriculture.service.impl;

import com.agriculture.entity.TblArea;
import com.agriculture.mapper.AddressBookMapper;
import com.agriculture.service.AddressBookService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.agriculture.entity.AddressBook;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressBookServiceImpl extends ServiceImpl<AddressBookMapper, AddressBook> implements AddressBookService {

    @Autowired
    private AddressBookMapper addressBookMapper;

    public void areaInit(String code){
        List<TblArea> tblAreas = addressBookMapper.selectByCode(code);

    }

}
